<script setup lang="ts">
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'
onLaunch(() => {
  console.log('App Launch')
})
onShow(() => {
  console.log('App Show')
  // const remembered = uni.getStorageSync('rememberedAccount');
  // if (!remembered) {
  //   uni.showToast({
  //     title: '未登录，请前往登陆',
  //   });
  //   uni.navigateTo({
  //     url: '/pages/login/login'
  //   });
  // }
})
onHide(() => {
  console.log('App Hide')
})
</script>

<style lang="scss">
@import './uni.scss';
@import './styles/common.scss';
uni-app,
uni-page,
uni-page-wrapper,
uni-page-body {
  height: 100%;
}

.uni-button,
view {
  box-sizing: border-box;
}

.page-content {
  height: 100%;
}
</style>
